package com.example.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.entity.Driver;
import com.example.util.page;
import com.example.util.page2;

import java.util.Map;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tyhxzy
 * @since 2023-11-03
 */
public interface IDriverService  {



    int insert(Driver driver);

    Driver selectByPhone(String phone);

    Page<Map> findByParams(page2 page);

    Map findByDid(Integer id);

    Map findDAllPoints(Integer id);

    Driver SelectPassword(String passwd);





    Driver update(Driver driver);

    /**
     * 修改积分
     * @param driver
     * @return
     */
    int updatejifen(Driver driver);




}
